package com.hrms.pojo;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.poi.ss.usermodel.CellStyle;

/**
 * 员工档案管理
 *
 * @author LK
 * @since 2021-10-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class FileManage extends  BaseRowModel implements Serializable {
    //页码
    //exist = false 表示不配置这个属性和表的映射关系
    @TableField(exist = false)
    private Integer page = 1;
    //每页显示条数
    @TableField(exist = false)
    private Integer row =3;
    private static final long serialVersionUID=1L;

    @TableField(exist = false)
    private Map<Integer, CellStyle> cellStyleMap = new HashMap();
    /**
     * id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;


    @ExcelProperty(value = {"档案编号"}, index = 0)
    private Integer archivesId;

    @ExcelProperty(value = {"员工编号"}, index = 1)
    private Integer staffId;

    @ExcelProperty(value = {"档案名称"}, index = 2)
    private String archivesName;

    @ExcelProperty(value = {"内容摘要"}, index = 3)
    private String contentSummary;

    @ExcelProperty(value = {"备注"}, index = 4)
    private String remarks;





}
